package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("tb_category")
public class Category {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String name;
    private String isShow;
    private String isMenu;
    private Integer seq;
    private Integer parentId;

}
